Multi-type battery charger control

ABSTRACT

An apparatus for selectively charging a variety of batteries. A battery charging system includes a charging circuit, a processor, and a key, or identification device. The key has a value or code associated with the type of battery to be charged. The processor executes a software program that reads the value associated with the key. The software program charges the battery in a manner required by the battery type associated with the key value. In another embodiment, the program checks for changes to the key, such as when an operator swaps the key during charging.

BACKGROUND OF THE INVENTION

1. Field of Invention

This invention pertains to a battery charging system capable of charging different types of batteries. More particularly, this invention pertains to a battery charging system with a user operable switch that selects the type of battery to be charged and controls the charging system to charge the battery in accordance with its type.

2. Description of the Related Art

Chemical batteries that create electricity from chemical reactions have been known for many years. These types of batteries are used in automobiles and other vehicles, uninterruptible power supply (UPS) systems, and portable electric devices, among other devices and equipment. An advantage of some chemical batteries is that they can be charged and the chemical process reversed by forcing electricity through the battery. Charging systems are widely known in the art and are widely available.

Examples of rechargeable batteries include batteries made with nickel metal hydride (NiMh), nickel cadmium (NiCd), lithium ion (Li-ion), lithium/manganese dioxide (Li/MnO₂), lithium/titanium disulfide (Li/TiS₂), Lithium/iron sulfide (LiFeSx), Lithium/manganese titanium (LiMnTi), lithium/nickel oxide positive electrode (LiNiO₂), Lithium/manganese oxide (LiMn₂O₄), nickel-zinc (Ni—Zn), Nickel-iron (NiFe), or Silver oxide (AgO). Such batteries also include a variety of lead-acid storage batteries, such as gel, wet, and absorbed glass mat (AGM) batteries. Each of these battery types have specific charging requirements, and these requirements can also vary depending upon the application and construction of the batteries.

Charging is the process of returning a discharged battery to a state in which it can be used again. There are various methods commonly used for recharging batteries: constant-current, constant potential (or voltage), float, pulse, ripple, taper, and trickle. It is important to charge a battery with the method recommended by the manufacturer for the type of battery. Although attempts have been made to sense the battery type by measuring the battery's electrical characteristics, such attempts have not been entirely successful.

BRIEF SUMMARY OF THE INVENTION

According to one embodiment of the present invention, an operator switch for controlling the battery charging for a specific type of battery is provided. A battery charging system includes a charging circuit, a processor, and a key, or identification device. The key has a value or code associated with the type of battery to be charged. The processor executes a software program that reads the value associated with the key. The software program charges the battery in a manner required by the battery type associated with the key value. In another embodiment, the program checks for changes to the key, such as when an operator swaps the key during charging.

BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS

The above-mentioned features of the invention will become more clearly understood from the following detailed description of the invention read together with the drawings in which:

FIG. 1 is a block diagram of one embodiment of a battery charging system;

FIG. 2 is a flow diagram of one embodiment of the steps for varying the manner of charging the battery based on a key value;

FIG. 3 illustrates one embodiment of a battery charging system showing a switching network;

FIG. 4 illustrates a narrow pulse waveform having a low effective voltage; and

FIG. 5 illustrates a wider pulse waveform having a high effective voltage.

DETAILED DESCRIPTION OF THE INVENTION

An apparatus for selectively charging a variety of batteries is disclosed. The apparatus is illustrated in the figures as a battery charging system 10. The battery charging system 10 is adapted to charge a variety of different types of batteries by varying the charging method and controlling the charging parameters.

FIG. 1 illustrates a battery charging system 10 capable of charging different types of batteries 110. A charging circuit 104 is powered by a power supply 102. The charging system 10 includes a processor 106 that controls the charging circuit 104 and provides display and control 112. A key, or identification device, 108 operates a switch such that the processor 106 can determine the type of battery 110 for selecting the proper charging method.

As used herein, the processor 106 should be broadly construed to mean any computer or component thereof that executes software. The processor 106 includes a memory medium that stores software, a processing unit that executes the software, and input/output (I/O) units for communicating with external devices. Those skilled in the art will recognize that the memory medium associated with the processor 106 can be either internal or external to the processing unit of the processor without departing from the scope and spirit of the present invention. In one embodiment the processor 106 is a general purpose computer, in another embodiment, it is a specialized device for implementing the functions of the invention. Those skilled in the art will recognize that the processor 106 includes an input component, an output component, a storage component, and a processing component. The input component receives input from external devices, such as the charging circuit 104 and the key 108. The output component sends output to external devices, such as the charging circuit 104 and the display and control circuit 112. The storage component stores data and program code. In one embodiment, the storage component includes random access memory. In another embodiment, the storage component includes non-volatile memory, such as floppy disks, hard disks, and writeable optical disks. The processing component executes the instructions included in the software and routines.

The processor 106 executes a software program charging different types of batteries. The program includes routines for charging different types of batteries 110. The routines control the voltage, current, time and rate of charge, as appropriate to the type of battery 110 to be charged. The key, or identification device, 108 includes a code that identifies a type of battery 110 and the key's 108 code is read by the processor 106. In this manner, the charging system 10 applies the proper charge to a battery 110 as specified by the key 108.

In one embodiment, the key 108 is a physical key that is plugged into a receptacle in the charging system 10. The key 108, either mechanically or electrically, sets one or more switches to a specific configuration, which is read by the processor 106. For example, the key 108, when inserted in the receptacle, actuates a series of switches such that individual contacts are either grounded or raised to a specific voltage level, and the contacts correspond to a digital code defined by the key 108. The contacts are connected to an equal number of input/output (I/O) ports on the processor 106. The processor 106 reads the I/O ports to determine the state of the contacts, and thereby determines the code carried by the key 108. The software running on the processor 106 uses the code to select the manner of charging the battery 110.

In another embodiment, the key 108 is an electronic device that is plugged into a receptacle in the charging system 10. The key 108 contains a digital code that is read by the processor 106. In still another embodiment, the key 108 is a multi-position switch on the charging system 10, with each switch position representing a battery type.

The battery type varies depending upon the battery 110 to be charged by the charging system 10. The battery types include differences in chemistry type, size, capacity, voltage rating, number of cells and their configuration. Different battery types require different charging protocols, which is the manner of applying the proper voltage and/or current to the battery 110 for the proper time. The charging protocol optimizes the battery life for the battery type while permitting rapid charging of the battery 110. For example, a NiMH battery can be charged at a low, fixed current less than its C capacity for a specified period of time before being charged at 100% of C until a negative delta voltage is detected at the battery 110, at which time a trickle charge is applied to the battery 110.

The number of battery types that the charging system 10 is adapted to charge is dependent upon the number of bits or pins making up the I/O port on the processor 106. In one embodiment, the I/O port includes two switches connected to two pins on the processor 106 for a total of four different battery types. In another embodiment, the I/O port includes four switches for a total of sixteen different battery types. Those skilled in the art will recognize that the number of bits used to define the various battery types can vary without departing from the spirit and scope of the present invention. In these embodiments, the code from the key, or identification device, 108 is transferred to the processor 106 as parallel data. In still another embodiment, the code from the key 108 is transferred to the processor 106 as serial data.

In one embodiment, the display and control 112 includes a light emitting diode (LED) display of the voltage of the battery 110. In various embodiments, the display is a bar graph display indicating the state of charge of the battery 110 and is actuated by a pushbutton or other control. In other embodiments, the display and control 112 includes one or more single or multicolored LEDs indicating the status of the charging system 10, for example, powered up, battery polarity is correct, charging stage, and charging completed.

In another embodiment, the display and control 112 includes indication of the type of battery 110 to be charged, as specified by the key 108. In one embodiment, an LED or other indicating lamp flashes a number of times corresponding to the type of battery 110 specified by the key 108. In another embodiment, an alphanumeric display presents information relating to the type of battery 110 specified by the key 108.

FIG. 2 is a flow diagram of one embodiment of the steps for varying the manner of charging the battery 110 based on a code stored in the key 108. Initially, power is applied 202 to the charging system 10. In one embodiment, the power is supplied by a power supply 102, such as a 120 volt ac power main. In another embodiment, the power for the processor 106 and the display and control circuit 112 is supplied by the battery 110 to be charged, with the power for charging the battery 112 coming from an external power supply 102.

With power supplied 202 to the charging system 10, the processor 106 executes a software program that reads the value 204 associated with the key 108. In one embodiment, the value is saved or stored 206 in memory. In another embodiment, the processor 106 uses the value directly, without resort to a memory location. The software program then starts the charging routine 208. In one embodiment, the charging routine 208 is specific to the type of battery corresponding to the value associated with the key 108. In this embodiment, the charging routine 208 corresponding to the charging protocol required by the specified battery type is selected and then executed by the processor 106. In another embodiment, a single charging routine 208 selects and applies a charging protocol specific to the battery type as specified by the key value 204.

In either embodiment, the charging routine 208 controls the charging circuit 104 by applying the appropriate charging protocol to the specified battery type. The charging protocol includes applying the proper voltage and/or current to the battery 110 for the proper time in accordance with the requirements of the battery type of the battery 110 being charged. That is, the charging routine 208 controls the charging circuit 104 such that the charging circuit 104 charges the battery 110 in the manner required for that type of battery. The charging routine 208, in one embodiment, monitors characteristics of the battery 110, such as voltage and temperature, and the charging routine 208 uses the value of these characteristics to adjust the charger circuit 104.

After starting charging 208, the next step is to check the value of the key 108 to determine if the value has changed 210, which indicates whether the operator has changed the key 108. If the value of the key 108 has changed, charging is terminated 216 and the software repeats the steps of reading the value 204, saving the value 206, and starting charging 208. If the value has not changed, the software checks to determine whether charging is complete 212. In various embodiments, charging is complete 212 when the battery voltage reaches a specified value, the applied current reaches a specified value, a specified time has elapsed, or other requirement, as determined by the type of battery being charged, is satisfied. If charging is not complete, the system 10 continues charging 218 and checks for the key value being changed 210. If charging is complete, the routine is done 214. In various embodiments, the order of the steps of checking the key value 210 and checking for completion of charging 214 are performed in either order.

In one embodiment, after the value of the key 108 is read 204, the value is displayed via the display and control 112. In one embodiment, the value displayed is a text display taken from a lookup table correlating key values to battery types. In other embodiments, one or more LEDs or other indicating lamps are illuminated in a pattern or by flashing in such a manner as to indicate the battery type corresponding to the key value.

In one embodiment, each of the functions identified in FIG. 2 are performed by one or more software routines run by the processor 106. In another embodiment, one or more of the functions identified are performed by hardware and the remainder of the functions are performed by one or more software routines run by the processor 106. In still another embodiment, the functions are implemented with hardware, with the processor 106 providing routing and control of the entire integrated system 10.

The processor 106 executes software, or routines, for performing various functions. These routines can be discrete units of code or interrelated among themselves. Those skilled in the art will recognize that the various functions can be implemented as individual routines, or code snippets, or in various groupings without departing from the spirit and scope of the present invention. As used herein, software and routines are synonymous. However, in general, a routine refers to code that performs a specified function, whereas software is a more general term that may include more than one routine or perform more than one function. Those skilled in the art will recognize that it is possible to program a general-purpose computer or a specialized device to implement the invention.

FIG. 3 illustrates one embodiment of the charging system 10 with variable duty-cycle pulse width regulation. In this embodiment, the charger circuit 104 includes a power conversion and isolation circuit 302, a regulation circuit 304, and a switch 306. The power conversion and isolation circuit 302, in one embodiment, provides two functions. First, the power conversion and isolation circuit 302 converts the voltage level at the power supply 102 to a voltage level compatible with the battery 110 to be charged. Second, the power conversion and isolation circuit 302 provides isolation between the battery 110 and the source, or power supply, 102. In another embodiment, isolation is not used and the power conversion circuit 302 performs only the power conversion function. In one embodiment, the power conversion and isolation circuit 302 includes a step down transformer and rectifier circuit. In another embodiment, the power conversion and isolation circuit 302 includes a switching power supply.

The regulator circuit 304 takes the output of the power conversion circuit 302 and treats it to ensure it is a stable direct current (dc) voltage source. The output of the regulator circuit 304 passes through the switch 306, which switches the input voltage in a controlled manner to produce a pulse stream. The switch 306 is controlled by the processor 106. In one embodiment, an output I/O pin on the processor 106 is controlled by a software program, and the processor 106 output provides the signal for controlling the switch 306. The software program varies the width 402, 402′ and the space 404, 404′ of the pulse streams 410, 410′ (see FIGS. 4 and 5) based on the requirements demanded by the charging routine corresponding to the type of battery 110 being charged and the current stage of the charging cycle.

In various embodiments, the switch 306 includes a switching transistor, a MOSFET, or other device that chops a dc signal to produce a pulse stream. In one embodiment, the switch 306 includes a filter circuit that treats the pulse stream to remove harmonics. In one embodiment, the switch 306 includes a smoothing circuit that treats the pulse stream to produce a substantially constant dc output signal.

FIGS. 4 and 5 illustrate two pulse streams 410, 410′. The pulse streams 410, 410′ illustrated in FIG. 4 shows a pulse having a width (on time) 402, 402′ corresponding to the on cycle of the switch 306 and a space, or gap, (off time) 404, 404′ corresponding to the off cycle of the switch 306. The processor 106 controls both the width 402, 402′ and the frequency (that is, the period, which is a combination of the width 402, 402′ and the space 404, 404′) of the pulse streams 410, 410′. A narrow pulse stream 410 as illustrated in FIG. 4 results in a lower average voltage, whereas a wider pulse stream 410′ as illustrated in FIG. 5 results in a higher average voltage output from the switch 306.

In the embodiment illustrated in FIGS. 3 to 5, the power conversion and isolation circuit 302 and regulator circuit 304 provides a constant output voltage. The output voltage is switched by the switch 306 so as to produce a controlled RMS voltage output to the battery 110. In this manner, the power conversion circuit 302 operates at a constant efficiency regardless of the voltage of the battery 110 being charged. For example, in one embodiment, an output voltage of 30 volts from the power conversion circuit is adequate to charge batteries 110 of either 6, 12, or 24 volts. With this configuration, it is not necessary to control the power conversion circuit 302, such as by selecting taps on a transformer, in order to control the voltage applied to the battery 110.

The charging system 10 includes various functions. The function of identifying a specified battery type is implemented, in one embodiment, by an identification device, or key, 108 that operates at least one switch to produce a code read by the processor 106 that corresponds to the battery type associated with the key 108. In another embodiment, the function is implemented by an identification device 108 that contains the battery type information stored as a code in the key 108. The processor 106 accesses the code in the key 108.

The function of determining if the specified battery type changes is implemented, in one embodiment, by the processor 106, which includes a routine for monitoring the battery type value controlled by the key 108. The processor 106 periodically queries the battery type value set by the key 108, and if the key value changes 210 then charging is terminated 216 and the new key value is read 204.

The function of providing a variable duty cycle pulse width regulation output to the battery is implemented, in one embodiment, by a switching circuit 306 between the power conversion circuit 302 and the battery 110 to be charged. The switching circuit 306 is controlled by the processor 106, and the switching circuit 306 interrupts the constant voltage from the power conversion circuit 302 to produce a variable duty cycle pulse stream as illustrated in FIGS. 4 and 5.

The function of isolating said external power source from the battery being charged is implemented, in one embodiment, by an isolation circuit in the power conversion and isolation circuit 302 in the charger circuit 104 of the charging system 10.

The function of monitoring a charge state of the battery being charged is implemented, in one embodiment, by the processor 106, which includes a routine for monitoring characteristics and variables related to the battery 110. In various embodiments, the characteristics and variables include battery temperature, time, voltage, current, temperature with respect to time, voltage with respect to time, and/or current with respect to time.

The function of regulating an output from said power conversion circuit is implemented, in one embodiment, by the regulation circuit 304 illustrated in FIG. 3. In one embodiment, the battery 110 is charged with a constant voltage output from the charging system 10. In another embodiment, the battery 110 is charged with a constant current output from the charging system 10. In these embodiments, the processor 106 controls the switch 306 to ensure that the proper voltage and/or current is applied to the battery 110 for the proper length of time. The charging system 10 includes charging protocols for a wide variety of battery types, and the specific charging protocol required by the battery 110 to be charged is selected by use of the key, or identification device, 108.

While the present invention has been illustrated by description of several embodiments and while the illustrative embodiments have been described in considerable detail, it is not the intention of the applicant to restrict or in any way limit the scope of the appended claims to such detail. Additional advantages and modifications will readily appear to those skilled in the art. The invention in its broader aspects is therefore not limited to the specific details, representative apparatus and methods, and illustrative examples shown and described. Accordingly, departures may be made from such details without departing from the spirit or scope of applicant's general inventive concept. 

1. An apparatus for charging a battery, said apparatus comprising: an identification device for identifying a specified battery type; a charger circuit including a power conversion circuit and a switch, said power conversion circuit connected to an external power source and having an output connected to said switch, said switch providing a variable duty cycle pulse width regulation output to the battery; and a processor in communication with said switch, said processor programmed to execute a process for charging a battery, said process including reading said specified battery type identified by said identification device, selecting a charging protocol based on said battery type, controlling said switch to charge the battery in a manner determined by said specified battery type, and monitoring for changes to said identification device; whereby said apparatus applies said charge to the selected battery type by switching an output of said power conversion circuit with.
 2. The apparatus of claim 1 wherein said identification device is selected from a group including a plug-in device with a memory storage component in communication with said processor, said memory storage component storing a code corresponding to said specified battery type, and a plug-in device for operating at least one switch in communication with said processor.
 3. The apparatus of claim 1 wherein said process executed by said processor further includes monitoring a charge state of a battery being charged by said apparatus.
 4. The apparatus of claim 1 further including an isolation circuit between said external power source and the battery.
 5. The apparatus of claim 1 further including a display and control circuit in communication with said processor.
 6. The apparatus of claim 1 further including a regulator connected between said power conversion circuit and said switch.
 7. A method in a battery charger for charging a battery of a selected battery type, said method comprising the steps of: providing for reading a battery type identified by an identification device; monitoring for a change of said identification device; providing for selecting a charging protocol based on said battery type; providing for controlling a switch to charge said battery type in accordance with said charging protocol, said switch receiving power from a power conversion circuit, said switch adapted to connect to a battery.
 8. The method of claim 7 further including a step of providing for monitoring a charge state of a battery being charged by said apparatus.
 9. The method of claim 7 further including a step of providing for terminating charging if said identification device is changed.
 10. The method of claim 7 further including a step of providing for displaying a status of the battery charger.
 11. A system for charging a battery, said system comprising: an identification device for identifying a specified battery type; a charger circuit including a power conversion circuit and a switch, said power conversion circuit connected to an external power source, said power conversion circuit connected to said switch, said switch providing a variable duty cycle pulse width regulation output to the battery; and a storage component for storing said specified battery type; an input/output component for communicating with said identification device; and a processing component in communication with said switch, said processing component executing a process including reading said specified battery type corresponding to said identification device, and controlling said switch to charge the battery in a manner required by said specified battery type.
 12. The system of claim 11 wherein said process executed by said processing component further includes a step of monitoring a charge state of a battery being charged by said apparatus.
 13. The system of claim 11 wherein said process executed by said processing component further includes a step of monitoring for a change of said identification device, and further including a step of providing for terminating charging if said identification device is changed.
 14. The system of claim 11 wherein said identification device is selected from a group including a plug-in device with a memory storage component in communication with said processing component, said memory storage component storing a code corresponding to said specified battery type, and a plug-in device for operating at least one switch in communication with said input/output component.
 15. An apparatus for charging a battery, said apparatus comprising: a means for identifying a specified battery type; a means for determining if said specified battery type changes; a power conversion circuit connected to an external power source; and a means for providing a variable duty cycle pulse width regulation output to the battery.
 16. The method of claim 15 further including a means for isolating said external power source from the battery being charged.
 17. The method of claim 15 further including a means for monitoring a charge state of the battery being charged.
 18. The method of claim 15 further including a means for regulating an output from said power conversion circuit. 